package xt.toolkit.rpc.test;

import com.caucho.hessian.client.HessianProxyFactory;

public class Client {

	public static void main(String[] args) throws Exception {
		String url = "http://localhost:5656/testService";
		
		HessianProxyFactory factory = new HessianProxyFactory();
		TestService helloService = (TestService) factory.create(TestService.class, url);
		
		helloService.sayHello2("xiaojian", "xiaojianjian");
	}

}
